home *** CD-ROM | disk | FTP | other *** search
/ The CICA Windows Explosion! / The CICA Windows Explosion! - Disc 2.iso / programr / dpmigcc5.zip / RSX / SOURCE / DJLIBRSX / _PROCESS.H next >
C/C++ Source or Header  |  1994-05-27  |  1KB  |  36 lines

  1. #if !defined (_SYS_PROCESS_H)
  2. #define _SYS_PROCESS_H
  3.  
  4. #if defined (__cplusplus)
  5. extern "C" {
  6. #endif
  7.  
  8. #define P_WAIT    0
  9. #define P_NOWAIT  1
  10. #define P_OVERLAY 2
  11. #define P_DEBUG   3
  12. #define P_SESSION 4
  13. #define P_DETACH  5
  14.  
  15. int fork (void);
  16. int getpid (void);
  17. int getppid (void);
  18. int spawnl (int mode, __const__ char *name, __const__ char *arg0, ...);
  19. int spawnle (int mode, __const__ char *name, __const__ char *arg0, ...);
  20. int spawnlp (int mode, __const__ char *name, __const__ char *arg0, ...);
  21. int spawnlpe (int mode, __const__ char *name, __const__ char *arg0, ...);
  22. int spawnv (int mode, __const__ char *name, __const__ char * __const__ *argv);
  23. int spawnve (int mode, __const__ char *name, __const__ char * __const__ *argv,
  24.     __const__ char * __const__ *envp);
  25. int spawnvp (int mode, __const__ char *name, __const__ char * __const__ *argv);
  26. int spawnvpe (int mode, __const__ char *name,
  27.     __const__ char * __const__ *argv, __const__ char * __const__ *envp);
  28. int wait (int *status);
  29. int waitpid (int pid, int *status, int options);
  30.  
  31. #if defined (__cplusplus)
  32. }
  33. #endif
  34.  
  35. #endif
  36.